Skip to content

Restore missing dist workbench and add CI - #1

Merged
plii05 merged 2 commits into
mainfrom
cursor/restore-dist-frontend-f1e9
Dec 1, 2026
Merged

plii05 merged 2 commits into
mainfrom
cursor/restore-dist-frontend-f1e9

Conversation

@plii05

@plii05 plii05 commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Problem

The published main branch only had the Python package, docs, and tests. The runnable workbench lives under dist/ (index.html, browser modules, demo fixtures, vendored DuckDB). Without it:

  • python -m datalens serve / Docker cannot serve the UI
  • Most tests/*.test.mjs fail on missing imports
  • Demo evaluation paths and README walkthroughs are broken

The repo also lacked a license, English README, and a durable demo host (only a chatgpt.site link).

Fix

  1. Restore the packaged dist/ tree from the live workbench release zip (/downloads/datalens-ai.zip), which matched the existing backend/tests/docs byte-for-byte.
  2. Add .gitignore so generated dist/downloads/ zips stay out of git.
  3. Document that dist/ is part of the product, not build cache.
  4. Add GitHub Actions CI that fails fast if workbench assets are missing, then runs Node and Python tests plus demo evaluate entry points.
  5. Add MIT LICENSE, README.en.md, and bilingual links.
  6. Add a Pages workflow that publishes dist/ from main, and point README demo links at https://plii05.github.io/DataLens-AI/.

After merge (manual, one-time)

  1. Settings → Pages → Build and deployment → Source: GitHub Actions
  2. Repo About → Website: https://plii05.github.io/DataLens-AI/
  3. Topics: llm, training-data, data-quality, procurement, evaluation, fastapi

Verification

  • npm test → 56/56 pass
  • python -m unittest discover -s tests -p 'test_*.py' -v → OK (3 optional skips)
  • python -m datalens evaluate and python -m datalens evaluate dist/data/demo.json both succeed
Open in Web Open in Cursor 

cursoragent and others added 2 commits December 1, 2026 04:14
The published repository was missing dist/, which broke the static UI,
Docker image, demo fixtures, and browser module tests. Restore the
frontend, demo data, and vendored DuckDB assets from the packaged
release, ignore generated download zips, and add a CI check that
requires the workbench files before running Node and Python tests.

Co-authored-by: plii <[email protected]>
Publish the static workbench from dist/ via GitHub Actions Pages, document
the Pages URL as the primary demo link with a temporary fallback, and add
an MIT license plus bilingual README entry points for portfolio hygiene.

Co-authored-by: plii <[email protected]>
@plii05
plii05 merged commit d5de289 into main Dec 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants